#ifndef QRESOURCETOPLEVELWIDGET_H
#define QRESOURCETOPLEVELWIDGET_H

#include <QWidget>

class QResourceTreeView;
class AbstractCore;

class QResourceTopLevelWidget : public QWidget
{
    Q_OBJECT
public:
    QResourceTopLevelWidget(AbstractCore *core,QWidget *parent=0);


    void    addTopFile(QString str);
    void    removeTopFile(QString str);
    void    select(QString str);
    QString getSelect();
signals:
    void    selectChange();
protected:
    QResourceTreeView       *m_treeView;
    AbstractCore            *m_core;
};

#endif // QRESOURCETOPLEVELWIDGET_H
